.class Les/i20$c;
.super Landroid/content/BroadcastReceiver;
.source "BluetoothFileSystem2.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/i20;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/i20;


# direct methods
.method constructor <init>(Les/i20;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/i20$c;->a:Les/i20;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    const-string v0, "android.bluetooth.device.action.BOND_STATE_CHANGED"

    .line 2
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    const/16 p1, 0xa

    const-string v0, "android.bluetooth.device.extra.BOND_STATE"

    .line 3
    invoke-virtual {p2, v0, p1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    const/16 v1, 0xc

    if-ne v0, v1, :cond_0

    const-string p1, "android.bluetooth.device.extra.DEVICE"

    .line 4
    invoke-virtual {p2, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object p1

    check-cast p1, Landroid/bluetooth/BluetoothDevice;

    .line 5
    invoke-virtual {p1}, Landroid/bluetooth/BluetoothDevice;->getAddress()Ljava/lang/String;

    move-result-object p1

    iget-object p2, p0, Les/i20$c;->a:Les/i20;

    invoke-static {p2}, Les/i20;->a(Les/i20;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 6
    iget-object p1, p0, Les/i20$c;->a:Les/i20;

    invoke-static {p1}, Les/i20;->b(Les/i20;)V

    goto :goto_0

    :cond_0
    if-ne v0, p1, :cond_1

    .line 7
    iget-object p1, p0, Les/i20$c;->a:Les/i20;

    invoke-static {p1}, Les/i20;->b(Les/i20;)V

    :cond_1
    :goto_0
    return-void
.end method
